package com.lnj.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.jfr.Description;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("cart")
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    @TableId()
    @Description("购物车ID")
    private Long cartId;
    @Description("用户ID")
    private Long userId;
    @Description("商品ID")
    private Long productId;
    @Description("数量")
    private Integer quantity;
}